﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Lari.Configuration;

namespace Lari.Services.ViewModel
{
    public class EmployeeTypeModel
    {
        public int Id { get; set; }

        [StringLength(30, ErrorMessage = MessageCode.Generic.LengthExceeded)]
        [Required(ErrorMessage = MessageCode.Generic.ReguiredFldMsg)]
        public String Name { get; set; }
    }
    public class EmployeeTypeListModel
    {
        public List<EmployeeTypeModel> List { get; set; }

        public EmployeeTypeModel Edit { get; set; }

        public EmployeeTypeModel Insert { get; set; }
    }
}
